x First time here? Check out the FAQ
  • Avatar2716posts1759karma
    admin

    [UPDATE] Fix to caching bug in 2.0.1

    Douglas Robar started this topic More then a year ago , this topic was edited at: Tuesday, August 17, 2010 12:33 AM

    ImageGen 2.0.1 has a bug in the caching system that may allow the 'cached' folders to grow and grow, wasting disk space and slowing site performance.

    I'm working on ImageGen 3 and the updated version has a number of fixes, including the important 'caching bug.' I don't want to wait to get this into users hands.

    NOTE
    If you use the ?text= parameter you may notice some small changes to the appearance of text images, as that area has seen a lot of work. If you do use ?text= you'll want to compare the images created by this updated version; you might need to modify your macros or css slightly to accommodate the changes in text handling. Otherwise, the update is fully backward compatible.

    TO UPDATE IMAGEGEN
    0. install ImageGen 2.0.1 normally
    1. download and expand the updated .zip file from ImageGen.2.2.1.38932.zip
    2. replace /bin/imagegen.dll
    3. replace /umbraco/imagegen.ashx
    4. delete all folders named 'cached' on your site

    cheers,
    doug.


  • Replies

  • Avatar143posts150karma
    Comment with ID: 9863
    Nico Lubbers posted this reply More then a year ago

    JIIIIHAAAA !!!

    Thanx ! :-)


  • Avatar3339posts3508karma
    admin Comment with ID: 9864
    Dirk De Grave posted this reply More then a year ago

    Ohh, you're making lots of clients soooo happy. Well done Doug!

     

    Cheers,

    /Dirk


  • Avatar39posts120karma
    Comment with ID: 9897
    Daniel.S posted this reply More then a year ago

    Thanks Doug. Imagegen is an excellent and integral part of the Umbraco site-building toolkit IMO.


  • Zen posted this reply More then a year ago

    I get an object reference not set to an instance of an object, I am using TIFF based images, is that even compatible ?


  • Avatar2716posts1759karma
    admin Comment with ID: 10651
    Douglas Robar posted this reply More then a year ago

    TIF is not officially supported (I haven't tested it extensively) but it should work and I've used it before. There are lots of types of tiff files (color depth, compression, byte order) and it may be that not every combination works properly.

    First things first... do you have any problem with jpg or png images? If not, then it is probably the combination of tiff file details that isn't compatible with ImageGen. If you re-save the tiff with different details. I believe 8-bit (rather than 16-bit), full color, rle or no compression, pc compatible byte format works.

    You might also start with a small image and then work up in filesize from there. As the filesize gets larger it takes longer and longer to process the image with ImageGen (the number of bytes grows quickly as image dimensions increase) and you might possibly be running out of memory if you're working with massive images?

    cheers,
    doug.


  • Zen posted this reply More then a year ago

    We are trying to make it easy for the user (seams that the user is somewhat "unsure" of how web and cms works).

    The ideer is to make it possible to upload on huge/highres image, and that will be made into a highres, lowres, preview and thumbnail version.

    I have no control over what formats the tiff gets saved as.

    Can this en up as a null reference ?.

    I am hoping that we can finde a sollution to this, because I am suppose to deliver this project today, but I cant get it done untill monday earliest, and there are different ways to achieve this, but preferable ImageGen should handle it all

    Best regards,

    Robin


  • Avatar2716posts1759karma
    admin Comment with ID: 10664
    Douglas Robar posted this reply More then a year ago

    As I said, ImageGen does not officially support tiff format, though it should work.

    But perhaps the issue isn't related to the tiffs? Does ImageGen always give you a null reference exception, even for jpgs? Have you applied the patch for ImageGen 2.2? Are you running it on localhost?

    cheers,
    doug.


  • Zen posted this reply More then a year ago

    I am trying it out on jpeg's right now, I have also applied the patch, and I have not been able to get the class's working in the config file, even tho the registrationinfo is functioning.


  • Zen posted this reply More then a year ago

    I works in jpg's, I have also applied the patch, and I have not been able to get the class's working in the config file, even tho the registrationinfo is functioning.


  • Avatar2716posts1759karma
    admin Comment with ID: 10669
    Douglas Robar posted this reply More then a year ago

    Okay, it's not a general ImageGen problem if it's working with jpgs. Two things remain to be sorted out... ImageGen Pro features not active and tiff files giving a null reference error.

    Be sure to check that you've got the Pro features enabled for your domain by calling http://mydomain.dk/umbraco/imagegen.ashx?version If the Pro features aren't enabled for your domain then you either need to double-check the web.config and /config/imagegen.config settings (see the documentation for ImageGen) or else you need to purchase a registration key for the domain you're using.

    If you can't figure it out, contact me through my website (www.percipientstudios.com) so we can sort out the issus with your web.config and /config/imagegen.config files. We can also to share a few tiffs that don't work and some that do.

    I'm off for the weekend but I'll check my mail periodically and we'll get this sorted out as soon as possible.

    cheers,
    doug.


Pages:

Please login or Sign up To post replies